#ifndef GETPARAMS_H
#define GETPARAMS_H
#include "ui_getParams.h"
#include "simData.h"


class GetParams : public QDialog, private Ui::GetParams
{
    Q_OBJECT
public:
    GetParams(QWidget *parent = 0);
    Ui::GetParams *paramUi;

    // flag to let the params window know if its single or multi sim
    bool multiSimTrue;

    int masters;  //master count
    int maxpacket;
    int minpacket;
    int speed;

public slots:
    void on_buttonBox_accepted();
    void on_buttonBox_rejected();
    void shown();

private slots:
    void on_masterSlider_valueChanged();
    void on_maxSlider_valueChanged();
    void on_minSlider_valueChanged();
    void on_speedSlider_valueChanged();

signals:
    void paramsSaved(int,int,int,int);
    void paramsNotSaved();

};

#endif // GETPARAMS_H
